<div class="card-head">
    <span class="ft-primary">事件监听回调情况</span>
    <back class="pull-right ft-normal"></back>
</div>

<div class="card">
    <div class="card-search">
        <div class="row">
            <div class="col-md-12">
                <label>事件标识：</label><span>{{evt.eid}}</span>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <label>事件类型：</label><span>{{evt.etype}}</span>
            </div>
            <div class="col-md-6">
                <label>事件行为：</label><span>{{evt.action}}</span>
            </div>
        </div>
        <div class="row">
            <div class="col-md-6">
                <label>事件来源：</label><span>{{evt.from}}</span>
            </div>
            <div class="col-md-6">
                <label>发送时间：</label><span>{{evt.occTime}}</span>
            </div>
        </div>
        <div class="row">
            <div class="col-md-12">
                <label>事件数据：</label><span>{{evt.datas}}</span>
            </div>
        </div>
    </div>
    <table class="table  table-hover table-striped">
        <thead>
            <tr>
                <th width="70px">序号</th>
                <th>url</th>
                <th>是否成功</th>
                <th>执行时间</th>
                <th>开始时间</th>
                <th>结束时间</th>
                <th>错误信息</th>
            </tr>
        </thead>
        <tbody *ngIf="isNull!=1">

            <tr *ngFor="let item of datas;let i=index;">
                <td align="center">{{i+1}}</td>
                <td align="left">{{item.hookurl}}</td>
                <td align="center">{{item.success?"成功":"失败"}}</td>
                <td align="center">{{item.execTime/1000000}}ms</td>
                <td align="center">{{item.startTime}}</td>
                <td align="center">{{item.endTime}}</td>
                <td align="center">{{item.error}}</td>
            </tr>

        </tbody>
        <tr *ngIf="isNull==1">
            <td colspan="5" class="text-sm-center">事件无调用记录</td>
        </tr>

    </table>

</div>